<!DOCTYPE html>
{template 'header','buyhelp'}
<!--主体部分 start-->
<div class="layout960 mt10 fn-clear">
    <div class="layout650 price-left fn-left">
        <!--本地降价-->
        <div class="filter-hd mb10 fn-clear">
            <h3 class="fn-left">{$city_name}降价</h3>
        </div>
        <table class="tb-list">
            <thead>
            <tr>
                <th width="5"></th>
                <th width="230">汽车名称<i></i></th>
                <th width="100">指导价<i></i></th>
                <th width="100">现价<i></i></th>
                <th width="100">优惠幅度<i></i></th>
                <th width="100">日期<i></i></th>
                <th width="5"></th>
            </tr>
            </thead>
            <tbody>
            {if $localarea}
            {loop $localarea $i $t}
            <tr>
                <td class="nobd"></td>
                <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                <td>{$t['price']}万</td>
                <td>{$t['favorableprice']}万</td>
                <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                <td>{date('Y-m-d',$t['edittime'])}</td>
                <td class="nobd"></td>
            </tr>
            {/loop}

            <!--信息没有查找到的时候-->
            {else}

            {/if}
            </tbody>
        </table>
        <!--乘用车-->
        <div id="J_ReductPassenger">
            <div class="hd-rec-radius hd-26 mt10 fn-clear">
                <h3 class="fn-left">乘用车</h3>
                <a class="more" href="{url('price/list','localtypeid=433')}" target="_blank" title="更多">更多>></a>
                <ul class="hd-tab fn-right">
                    <li class="selected">微型</li>
                    <li>小型</li>
                    <li>紧凑</li>
                    <li>中型车</li>
                    <li>大型车</li>
                    <li>豪华型</li>
                </ul>
            </div>
            <!--微型-->
            <table class="tb-list mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $weixing}
                {loop $weixing $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}

                {/if}
                </tbody>
            </table>
            <!--小型-->
            <table class="tb-list fn-hide mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $xiaoxing}
                {loop $xiaoxing $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}

                {/if}
                </tbody>
            </table>
            <!--紧凑-->
            <table class="tb-list fn-hide mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $jincouxing}
                {loop $jincouxing $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}

                {/if}
                </tbody>
            </table>
            <!--中型车-->
            <table class="tb-list fn-hide mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $zhongxing}
                {loop $zhongxing $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}

                {/if}
                </tbody>
            </table>
            <!--中大型-->
            <table class="tb-list fn-hide mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $zhongdaxing}
                {loop $zhongdaxing $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}
                {/if}
                </tbody>
            </table>
            <!--豪华型-->
            <table class="tb-list fn-hide mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $haohuaxing}
                {loop $haohuaxing $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}

                {/if}
                </tbody>
            </table>
        </div>
        <!--商用车-->
        <div id="J_ReductBusiness">
            <div class="hd-rec-radius hd-26 mt10 fn-clear">
                <h3 class="fn-left">商用车</h3>
                <a class="more" href="{url('price/list','localtypeid=434')}" target="_blank" title="更多">更多>></a>
                <ul class="hd-tab fn-right">
                    <li class="selected">卡车</li>
                    <li>客车</li>
                </ul>
            </div>
            <!--卡车-->
            <table class="tb-list mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $kache}
                {loop $kache $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                <!--信息没有查找到的时候-->
                {else}
                {template 'noresult', 'message'}
                {/if}
                </tbody>
            </table>
            <!--客车-->
            <table class="tb-list fn-hide mt10">
                <thead>
                <tr>
                    <th width="5"></th>
                    <th width="230">汽车名称<i></i></th>
                    <th width="100">指导价<i></i></th>
                    <th width="100">现价<i></i></th>
                    <th width="100">优惠幅度<i></i></th>
                    <th width="100">日期<i></i></th>
                    <th width="5"></th>
                </tr>
                </thead>
                <tbody>
                {if $keche}
                {loop $keche $i $t}
                <tr>
                    <td class="nobd"></td>
                    <td><a href="{php echo url('price/show', 'itemid='.$t['itemid']);}" title="{$t['title']}" target="_blank">{$t['title']}</a></td>
                    <td>{$t['price']}万</td>
                    <td>{$t['favorableprice']}万</td>
                    <td>{php echo $t['price']-$t['favorableprice']}万↓</td>
                    <td>{date('Y-m-d',$t['edittime'])}</td>
                    <td class="nobd"></td>
                </tr>
                {/loop}
                {else}
                {template 'noresult', 'message'}
                {/if}
                </tbody>
            </table>
        </div>
    </div>
    <div class="layout-2of2 fn-right">
        <iframe src="{SITE_URL}extend/fragment.php?modules=carpic"  scrolling="no" frameborder="0" height="455"></iframe>
        <iframe src="{SITE_URL}extend/fragment.php?modules=sale&psize=10" scrolling="no" frameborder="0" width="300" height="303"></iframe>
        <iframe src="{SITE_URL}extend/fragment.php?modules=insurance&psize=10" scrolling="no" frameborder="0" width="300" height="303"></iframe>
        <iframe src="{SITE_URL}extend/fragment.php?modules=newpic&psize=10" scrolling="no" frameborder="0" width="300" height="365"></iframe>

    </div>
</div>
<!--主体部分 end-->
<script>
    seajs.use(['lm-util','common'],function(util){
        //乘用车
        util.tab("mouseover","#J_ReductPassenger .hd-tab", "selected", "#J_ReductPassenger .tb-list");
        //商用车
        util.tab("mouseover","#J_ReductBusiness .hd-tab", "selected", "#J_ReductBusiness .tb-list");
        //房车
        util.tab("mouseover","#J_ReductSedan .hd-tab", "selected", "#J_ReductSedan .tb-list");
    });
</script>
{template 'footer'}
